home *** CD-ROM | disk | FTP | other *** search
- package com.extensibility.rock;
-
- import com.extensibility.app.UI;
- import java.awt.event.ActionEvent;
- import javax.swing.text.DefaultEditorKit;
- import javax.swing.text.JTextComponent;
- import javax.swing.text.TextAction;
-
- public class RTable$CopyAction extends RAction {
- // $FF: synthetic field
- final RTable this$0;
- TextAction textCopy;
-
- public RTable$CopyAction(RTable var1) {
- super(UI.getString("edit.item.copy"), 67);
- this.this$0 = var1;
- this.textCopy = new DefaultEditorKit.CopyAction();
- }
-
- public void actionOccurred(ActionEvent var1) {
- JTextComponent var2 = this.this$0.getCellEditorAsJTextComponent();
- if (var2 != null) {
- this.textCopy.actionPerformed(var1);
- } else {
- this.this$0.copy();
- }
-
- RTable.access$5000071(this.this$0);
- }
- }
-